﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000441 RID: 1089
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ENLENIJDDPL : IMessage<ENLENIJDDPL>, IMessage, IEquatable<ENLENIJDDPL>, IDeepCloneable<ENLENIJDDPL>, IBufferMessage
	{
		// Token: 0x17000E06 RID: 3590
		// (get) Token: 0x060030F8 RID: 12536 RVA: 0x00086EFD File Offset: 0x000850FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ENLENIJDDPL> Parser
		{
			get
			{
				return ENLENIJDDPL._parser;
			}
		}

		// Token: 0x17000E07 RID: 3591
		// (get) Token: 0x060030F9 RID: 12537 RVA: 0x00086F04 File Offset: 0x00085104
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ENLENIJDDPLReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000E08 RID: 3592
		// (get) Token: 0x060030FA RID: 12538 RVA: 0x00086F16 File Offset: 0x00085116
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ENLENIJDDPL.Descriptor;
			}
		}

		// Token: 0x060030FB RID: 12539 RVA: 0x00086F1D File Offset: 0x0008511D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ENLENIJDDPL()
		{
		}

		// Token: 0x060030FC RID: 12540 RVA: 0x00086F25 File Offset: 0x00085125
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ENLENIJDDPL(ENLENIJDDPL other) : this()
		{
			this.oHLACBFPACN_ = other.oHLACBFPACN_;
			this.status_ = other.status_;
			this.eNGCNLPCMDA_ = other.eNGCNLPCMDA_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060030FD RID: 12541 RVA: 0x00086F62 File Offset: 0x00085162
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ENLENIJDDPL Clone()
		{
			return new ENLENIJDDPL(this);
		}

		// Token: 0x17000E09 RID: 3593
		// (get) Token: 0x060030FE RID: 12542 RVA: 0x00086F6A File Offset: 0x0008516A
		// (set) Token: 0x060030FF RID: 12543 RVA: 0x00086F72 File Offset: 0x00085172
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OHLACBFPACN
		{
			get
			{
				return this.oHLACBFPACN_;
			}
			set
			{
				this.oHLACBFPACN_ = value;
			}
		}

		// Token: 0x17000E0A RID: 3594
		// (get) Token: 0x06003100 RID: 12544 RVA: 0x00086F7B File Offset: 0x0008517B
		// (set) Token: 0x06003101 RID: 12545 RVA: 0x00086F83 File Offset: 0x00085183
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBoothStatus Status
		{
			get
			{
				return this.status_;
			}
			set
			{
				this.status_ = value;
			}
		}

		// Token: 0x17000E0B RID: 3595
		// (get) Token: 0x06003102 RID: 12546 RVA: 0x00086F8C File Offset: 0x0008518C
		// (set) Token: 0x06003103 RID: 12547 RVA: 0x00086F94 File Offset: 0x00085194
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ENGCNLPCMDA
		{
			get
			{
				return this.eNGCNLPCMDA_;
			}
			set
			{
				this.eNGCNLPCMDA_ = value;
			}
		}

		// Token: 0x06003104 RID: 12548 RVA: 0x00086F9D File Offset: 0x0008519D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ENLENIJDDPL);
		}

		// Token: 0x06003105 RID: 12549 RVA: 0x00086FAC File Offset: 0x000851AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ENLENIJDDPL other)
		{
			return other != null && (other == this || (this.OHLACBFPACN == other.OHLACBFPACN && this.Status == other.Status && this.ENGCNLPCMDA == other.ENGCNLPCMDA && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003106 RID: 12550 RVA: 0x00087008 File Offset: 0x00085208
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.OHLACBFPACN != 0U)
			{
				num ^= this.OHLACBFPACN.GetHashCode();
			}
			if (this.Status != RogueBoothStatus.RogueBoothNone)
			{
				num ^= this.Status.GetHashCode();
			}
			if (this.ENGCNLPCMDA != 0U)
			{
				num ^= this.ENGCNLPCMDA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003107 RID: 12551 RVA: 0x0008707F File Offset: 0x0008527F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003108 RID: 12552 RVA: 0x00087087 File Offset: 0x00085287
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003109 RID: 12553 RVA: 0x00087090 File Offset: 0x00085290
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ENGCNLPCMDA != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ENGCNLPCMDA);
			}
			if (this.OHLACBFPACN != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.OHLACBFPACN);
			}
			if (this.Status != RogueBoothStatus.RogueBoothNone)
			{
				output.WriteRawTag(104);
				output.WriteEnum((int)this.Status);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600310A RID: 12554 RVA: 0x00087108 File Offset: 0x00085308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.OHLACBFPACN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OHLACBFPACN);
			}
			if (this.Status != RogueBoothStatus.RogueBoothNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Status);
			}
			if (this.ENGCNLPCMDA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ENGCNLPCMDA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600310B RID: 12555 RVA: 0x00087178 File Offset: 0x00085378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ENLENIJDDPL other)
		{
			if (other == null)
			{
				return;
			}
			if (other.OHLACBFPACN != 0U)
			{
				this.OHLACBFPACN = other.OHLACBFPACN;
			}
			if (other.Status != RogueBoothStatus.RogueBoothNone)
			{
				this.Status = other.Status;
			}
			if (other.ENGCNLPCMDA != 0U)
			{
				this.ENGCNLPCMDA = other.ENGCNLPCMDA;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600310C RID: 12556 RVA: 0x000871DC File Offset: 0x000853DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600310D RID: 12557 RVA: 0x000871E8 File Offset: 0x000853E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 56U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Status = (RogueBoothStatus)input.ReadEnum();
						}
					}
					else
					{
						this.OHLACBFPACN = input.ReadUInt32();
					}
				}
				else
				{
					this.ENGCNLPCMDA = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400134A RID: 4938
		private static readonly MessageParser<ENLENIJDDPL> _parser = new MessageParser<ENLENIJDDPL>(() => new ENLENIJDDPL());

		// Token: 0x0400134B RID: 4939
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400134C RID: 4940
		public const int OHLACBFPACNFieldNumber = 7;

		// Token: 0x0400134D RID: 4941
		private uint oHLACBFPACN_;

		// Token: 0x0400134E RID: 4942
		public const int StatusFieldNumber = 13;

		// Token: 0x0400134F RID: 4943
		private RogueBoothStatus status_;

		// Token: 0x04001350 RID: 4944
		public const int ENGCNLPCMDAFieldNumber = 4;

		// Token: 0x04001351 RID: 4945
		private uint eNGCNLPCMDA_;
	}
}
